<?php
Class languageComponents extends sfComponents
{
  public function executeLanguage(sfWebRequest $request)
  {
    $this->links = array();
    $this->links[1] = array('label' => 'us', 'route' => "@change_culture?language=en");
    $this->links[2] = array('label' => 'gb', 'route' => '@change_culture?language=en');
    $this->links[3] = array('label' => 'it', 'route' => '@change_culture?language=it');
  }
}
?>
